<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>{{env('APP_NAME')}} - @yield('title')</title>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <!-- 依 赖 样 式 -->
    <link rel="stylesheet" href="{{ env('APP_URL').BE_COMPONENT.'/pear/css/pear.css?'.rand() }}" />
    <!-- 加 载 样 式 -->
    <link rel="stylesheet" href="{{env('APP_URL').BE_ADMIN.'/css/loader.css?'.rand() }}" />
    <!-- 布 局 样 式 -->
    <link rel="stylesheet" href="{{env('APP_URL').BE_ADMIN.'/css/admin.css?'.rand() }}" />
    @yield('style')
    <script>
        var APP_URL = "{{ env("APP_URL") }}";
    </script>
    <script type="text/javascript" src="{{ env('APP_URL').BE_COMPONENT.'/layui/layui.js?'.rand() }}"></script>
    <script src="{{ env('APP_URL').BE_COMPONENT.'/pear/pear.js?'.rand() }}"></script>

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
            <script type="text/javascript" src="{{ env('APP_URL').'/js/html5.js' }}"></script>
        <![endif]-->
<!--[if lt IE 8]>
            <link rel="stylesheet" href="{{ env('APP_URL').'/css/bootstrap-ie7buttonfix.css' }}">
        <![endif]-->
<!--[if IE 8]>
            <link rel="stylesheet" href="{{ env('APP_URL').'/css/bootstrap-ie8buttonfix.css' }}">
        <![endif]-->
    @stack('scripts')
</head>

<body class="layui-layout-body pear-admin">
<div class="layui-layout layui-layout-admin">
    <!-- 顶 部 样 式 -->
@include('layouts.admin.experthead')
<!-- 侧 边 区 域 -->
    <div class="layui-side">
        <!-- 菜 单 内 容 -->
        <div class="layui-side-scroll" style="background-image: url('{{env('APP_URL').'/images/u146.png'}}');background-size: 100% 100%;">
            <div id="sideMenu" ></div>
        </div>
    </div>
    <!-- 视 图 页 面 -->
    <div class="layui-body">
        <!-- 内 容 页 面 -->
        <div id="content"></div>
    </div>
    <!-- 遮 盖 层 -->
    <div class="pear-cover"></div>
    <!-- 加 载 动 画 -->
    <div class="loader-main">
        <!-- 动 画 对 象 -->
        <div class="loader"></div>
    </div>
    <!-- 移 动 端 便 捷 操 作 -->
    <div class="pear-collasped-pe collaspe">
        <a href="#" class="layui-icon layui-icon-shrink-right"></a>
    </div>
</div>
<script>
    layui.use(['admin','jquery','popup'], function() {
        var $ = layui.jquery;
        var popup = layui.popup;
        var admin = layui.admin;

        {{--sessionStorage.setItem('actions', '{{ $actions }}');--}}

        admin.setConfigType("yml");
        admin.setConfigPath("{{env('APP_URL').BE_CONFIG.'/expert.config.yml'}}");
        admin.setAppUrl("{{ env('APP_URL')}}");

        admin.render();
    });

</script>
</body>

</html>
